<?php
class Default_Form_LoginForm extends Zend_Dojo_Form
{
    public function init()
    {
        $this->setMethod('post');

        $this->addElement('ValidationTextBox', 'login', array(
            'required' => true,
            'filters'  => array('StringTrim')
        ));

        $this->addElement('PasswordTextBox', 'password', array(
            'required' => true,
            'filters' => array('StringTrim'),
        ));

        $this->addElement('Button', 'enter', array('type' => 'submit'));
    }
}
